package com.itqf.proxy;

import com.itqf.face.Face;
import com.itqf.person.GaoCuiLan;
import com.itqf.person.XingZheSun;

/**
 * projectName: springframeworkgp8
 *
 * @author: 赵伟风
 * time: 2021/8/3 16:33
 * description:
 */
public class UserProxy {

    public static void main(String[] args) {

        Face gao = new GaoCuiLan();

        //代理对象
        Face face = new XingZheSun(gao);

        face.eat();

    }
}
